namespace core {
    export interface IBaseView {
        //是否初始化
        isInit(): boolean;
        //是否显示
        isShow(): boolean;
        //设置是否隐藏
        setVisible(value: boolean): void;
        //面板开启执行函数
        open(...param: any[]): void;
        //面板关闭执行函数
        close(...param: any[]): void;
        //销毁
        destroy(): void;
        //设置初始加载资源
        setResources(resources: string[]): void;
        //分模块加载资源
        loadResource(loadComplete: Function, initComplete: Function): void;


        applyFunc(key: any, ...param: any[]): any;
        applyControllerFunc(controllerKey: number, key: any, ...param: any[]): any;

        addToParent(): void;
        removeFromParent(): void;
        initUI(): void;
        initData(): void;
    }
}